Skip to content

fix: escape embedded JSON in standalone HTML#13

Open
Yurii201811 wants to merge 1 commit into
youzi-forge:mainfrom
Yurii201811:codex/escape-embedded-json
Open

fix: escape embedded JSON in standalone HTML#13
Yurii201811 wants to merge 1 commit into
youzi-forge:mainfrom
Yurii201811:codex/escape-embedded-json

Conversation

@Yurii201811

@Yurii201811 Yurii201811 commented Jun 10, 2026

Copy link
Copy Markdown

Summary

  • Escape closing-tag sequences when embedding JSON data into the standalone HTML script tag
  • Prevent issue text containing sequences like closing script tags from breaking generated HTML

Verification

  • Python executable regression harness: verified lower- and mixed-case closing-tag payloads, injection boundaries, a single intended closing script tag, and exact JSON round-trip
  • Python source compilation check
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant